import type { CardListResult, ListResult } from '@/api/model/listModel';
import request from '@/utils/request';

const Api = {
  BaseList: '/mock/get-list',
  CardList: '/mock/get-card-list'
};

export function getList() {
  return request.get<ListResult>(Api.BaseList);
}

export function getCardList() {
  return request.get<CardListResult>(Api.CardList);
}
